home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC Gamer (Italian) 46
/
PC Gamer IT CD 46 2-2.iso
/
Nba
/
NBA2000.exe
/
CABFILE
/
IDR_CABFILE
/
Data
/
UIScript
/
SingGame
/
SporPage
/
STATS.UI
< prev
Wrap
Text File
|
1999-04-30
|
15KB
|
642 lines
"2D\UI\SporPage\Stats"
//********************************
// Data Container
//********************************
DataContainer {
DBLBContentProvider "SingleGameStatisticsHomeNameDBLBCP" {
DBListBox "SingleGameStatisticsHomeNameDBListBox";
Database "PlayerStatsHComposite";
Format {
String Field "szFirst" Tab;
String " ";
String Field "szLast";
};
InitialValue {
Restrict Int Field "nShowStats" Equals 1;
};
};
DBLBContentProvider "SingleGameStatisticsTeamHomeNameDBLBCP" {
DBListBox "SingleGameStatisticsTeamHomeNameDBListBox";
Database "TeamStatsHComposite";
Format {
String Field "szName" Tab;
};
InitialValue {
Restrict Int Field "nShowStats" Equals 1;
};
};
DBLBContentProvider "SingleGameStatisticsHomeDBLBCP" {
DBListBox "SingleGameStatisticsHomeDBListBox";
Database "PlayerStatsHComposite";
Format {
String Field "szName" Tab;
Int Field "nGamesPlayed" Tab;
Int Field "nNumGamesStarted" Tab;
Int Field "nMinPlayed" Tab;
Real Field "fPointsPerGame" DecimalPlaces 1 Tab;
Int Field "nFGMade" Tab;
Int Field "nFGAttempt" Tab;
Real Field "fFGPercentage" DecimalPlaces 1 Tab;
Int Field "n3PtMade" Tab;
Int Field "n3PtAttempt" Tab;
Real Field "f3PtPercentage" DecimalPlaces 1 Tab;
Int Field "nFTMade" Tab;
Int Field "nFTAttempt" Tab;
Real Field "fFTPercentage" DecimalPlaces 1 Tab;
Int Field "nOffReb" Tab;
Int Field "nDefReb" Tab;
Int Field "nAssists" Tab;
Int Field "nFouls" Tab;
Int Field "nDisqualifications" Tab;
Int Field "nSteals" Tab;
Int Field "nTurnovers" Tab;
Int Field "nBlocks" Tab;
};
InitialValue {
Restrict Int Field "nShowStats" Equals 1;
};
};
DBLBContentProvider "SingleGameStatisticsTeamHomeDBLBCP" {
DBListBox "SingleGameStatisticsTeamHomeDBListBox";
Database "TeamStatsHComposite";
Format {
Int Field "nWins" Tab;
Int Field "nLoss" Tab;
Real Field "fWinningPercent" DecimalPlaces 3 Tab;
Real Field "fGamesBehind" DecimalPlaces 1 Tab;
Int Field "nFGMade" Tab;
Int Field "nFGAttempt" Tab;
Int Field "n3PtMade" Tab;
Int Field "n3PtAttempt" Tab;
Int Field "nFTMade" Tab;
Int Field "nFTAttempt" Tab;
Int Field "nOffReb" Tab;
Int Field "nDefReb" Tab;
Int Field "nAssists" Tab;
Int Field "nFouls" Tab;
Int Field "nDisqualifications" Tab;
Int Field "nSteals" Tab;
Int Field "nTurnovers" Tab;
Int Field "nBlocks" Tab;
};
InitialValue {
Restrict Int Field "nShowStats" Equals 1;
};
};
};
//********************************
// Images
//********************************
Image "SingleStatisticsArrowFocusDown" {
Filename "arFocDn";
};
Image "SingleStatisticsArrowPushDown" {
Filename "arpushDn";
};
Image "SingleStatisticsArrowFocusUp" {
Filename "arFocUp";
};
Image "SingleStatisticsArrowPushUp" {
Filename "arpushUp";
};
Image "SingleStatsTeamSelectArrowPushRight" {
Filename "arPushRt";
};
Image "SingleStatsTeamSelectArrowPushLeft" {
Filename "arPushLt";
};
Image "SingleStatsTeamSelectArrowFocusRight" {
Filename "arFocRt";
};
Image "SingleStatsTeamSelectArrowFocusLeft" {
Filename "arFocLt";
};
Image "SingleStatisticsRosterUpEnabled" {
Filename "scrolup";
};
Image "SingleStatisticsRosterDownEnabled" {
Filename "scrldwn";
};
Image "SingleStatisticsRosterRightEnabled" {
Filename "scrlrt";
};
Image "SingleStatisticsRosterLeftEnabled" {
Filename "scrlleft";
};
Image "SingleGameStatisticsRosterThumb" {
Filename "spin";
};
Image "SingleGameStatisticsListBoxBack1" {
Filename "statbox";
};
Image "SingleGameStatisticsHorizLine" {
Position [10,5];
Filename "horizbar";
};
Image "SingleGameStatisticsVertLine" {
Position [5,10];
Filename "vertbar";
};
Image "SingleStatisticsPlayerEnabled" {
Filename "plyrenab";
Position [0, 0];
};
Image "SingleStatisticsPlayerFocused" {
Filename "plyrfoc";
Position [0, 0];
};
Image "SingleStatisticsPlayerPushed" {
Filename "plyrPush";
position [0,0];
};
Image "SingleStatisticsTeamEnabled" {
Filename "teamEnab";
Position [0, 0];
};
Image "SingleStatisticsTeamFocused" {
Filename "teamfoc";
Position [0, 0];
};
Image "SingleStatisticsTeamPushed" {
Filename "teamPush";
position [0,0];
};
//********************************
// Fonts
//********************************
Font "SingleGameStatisticsHomeDBListBoxFont" {
Filename "textfnt";
Translate " ABCDEFGHIJKLMNOPQRSTUVWXYZ" "abcdefghijklmnopqrstuvwxyz0123456789.,:'";
Kerning 1;
VerticalKerning 12;
};
Font "SingleGameStatisticsHomeTitleDBListBoxFont" {
Filename "titlefnt";
Translate " ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789%";
Kerning 1;
};
//********************************
// Styles
//********************************
ButtonStyle "SingleStatisticsRosterUp" {
Enabled Image "SingleStatisticsRosterUpEnabled";
Focused Image "SingleStatisticsArrowFocusUp";
Pushed Image "SingleStatisticsArrowPushUp";
};
ButtonStyle "SingleStatisticsRosterDown" {
Enabled Image "SingleStatisticsRosterDownEnabled";
Focused Image "SingleStatisticsArrowFocusDown";
Pushed Image "SingleStatisticsArrowPushDown";
};
ButtonStyle "SingleStatisticsRosterLeft" {
Enabled Image "SingleStatisticsRosterLeftEnabled";
Focused Image "SingleStatsTeamSelectArrowFocusLeft";
Pushed Image "SingleStatsTeamSelectArrowPushLeft";
};
ButtonStyle "SingleStatisticsRosterRight" {
Enabled Image "SingleStatisticsRosterRightEnabled";
Focused Image "SingleStatsTeamSelectArrowFocusRight";
Pushed Image "SingleStatsTeamSelectArrowPushRight";
};
Style "SingleGameStatisticsHomeDBListBoxStyle" {
Font "SingleGameStatisticsHomeDBListBoxFont";
};
Style "SingleGameStatisticsHomeTitleDBListBoxStyle" {
Font "SingleGameStatisticsHomeTitleDBListBoxFont";
};
Style "SingleGameStatisticsListBoxStyle" {
Image "SingleGameStatisticsListBoxBack1";
};
Style "SingleGameStatisticsHorizLineStyle" {
Image "SingleGameStatisticsHorizLine";
};
Style "SingleGameStatisticsVertLineStyle" {
Image "SingleGameStatisticsVertLine";
};
ButtonStyle "SingleGameStatisticsTeamButtonStyle" {
Enabled Image "SingleStatisticsTeamEnabled";
Armed Image "SingleStatisticsTeamPushed";
Focused Image "SingleStatisticsTeamFocused";
};
ButtonStyle "SingleGameStatisticsPlayerButtonStyle" {
Enabled Image "SingleStatisticsPlayerEnabled";
Armed Image "SingleStatisticsPlayerPushed";
Focused Image "SingleStatisticsPlayerFocused";
};
//********************************
// Buttons
//********************************
Button "SingleStatisticsHorizLeft" {
ButtonStyle "SingleStatisticsRosterLeft";
};
Button "SingleStatisticsHorizRight" {
ButtonStyle "SingleStatisticsRosterRight";
Position [365, 0];
};
Thumb "SingleGameStatisticsHorizThumb" {
Image "SingleGameStatisticsRosterThumb";
Horizontal;
FixedPosition 2;
Range [15, 353];
};
Button "SingleStatisticsVertUp" {
ButtonStyle "SingleStatisticsRosterUp";
};
Button "SingleStatisticsVertDown" {
ButtonStyle "SingleStatisticsRosterDown";
Position [0, 285];
};
Thumb "SingleGameStatisticsVertThumb" {
Image "SingleGameStatisticsRosterThumb";
Vertical;
FixedPosition 2;
Range [15, 273];
};
Button "SingleStatisticsTeamHorizLeft" {
ButtonStyle "SingleStatisticsRosterLeft";
};
Button "SingleStatisticsTeamHorizRight" {
ButtonStyle "SingleStatisticsRosterRight";
Position [365, 0];
};
Thumb "SingleGameStatisticsTeamHorizThumb" {
Image "SingleGameStatisticsRosterThumb";
Horizontal;
FixedPosition 2;
Range [15, 353];
};
Button "SingleStatisticsTeamVertUp" {
ButtonStyle "SingleStatisticsRosterUp";
};
Button "SingleStatisticsTeamVertDown" {
ButtonStyle "SingleStatisticsRosterDown";
Position [0, 285];
};
Thumb "SingleGameStatisticsTeamVertThumb" {
Image "SingleGameStatisticsRosterThumb";
Vertical;
FixedPosition 2;
Range [15, 273];
};
CheckButton "SingleGameStatisticsTeamButton" {
ButtonStyle "SingleGameStatisticsTeamButtonStyle";
Position [-1, 92];
};
CheckButton "SingleGameStatisticsPlayerButton" {
ButtonStyle "SingleGameStatisticsPlayerButtonStyle";
Position [-1, 0];
};
//********************************
// Groups
//********************************
ScrollBarGroup "SingleStatisticsHorizScrollBar" {
Style "SingleGameStatisticsHorizLineStyle";
Position [183, 350];
Horizontal;
Children {
Button "SingleStatisticsHorizLeft";
Thumb "SingleGameStatisticsHorizThumb";
Button "SingleStatisticsHorizRight";
};
};
ScrollBarGroup "SingleStatisticsVertScrollBar" {
Style "SingleGameStatisticsVertLineStyle";
Position [8, 45];
Vertical;
Children {
Button "SingleStatisticsVertUp";
Thumb "SingleGameStatisticsVertThumb";
Button "SingleStatisticsVertDown";
};
};
ScrollBarGroup "SingleStatisticsTeamHorizScrollBar" {
Style "SingleGameStatisticsHorizLineStyle";
Position [183, 350];
Horizontal;
Children {
Button "SingleStatisticsTeamHorizLeft";
Thumb "SingleGameStatisticsTeamHorizThumb";
Button "SingleStatisticsTeamHorizRight";
};
};
ScrollBarGroup "SingleStatisticsTeamVertScrollBar" {
Style "SingleGameStatisticsVertLineStyle";
Position [8, 45];
Vertical;
Children {
Button "SingleStatisticsTeamVertUp";
Thumb "SingleGameStatisticsTeamVertThumb";
Button "SingleStatisticsTeamVertDown";
};
};
//Main body of stats
DBListBox "SingleGameStatisticsHomeDBListBox" {
Style "SingleGameStatisticsHomeDBListBoxStyle";
Position [180, 59];
Size [384, 275];
Highlight [160, 0, 0];
VerticalHighlight [70, 70, 250];
TabSet {
TabSize 64;
Number 22;
Justify Center;
};
};
DBListBox "SingleGameStatisticsTeamHomeDBListBox" {
Style "SingleGameStatisticsHomeDBListBoxStyle";
Position [180, 59];
Size [384, 275];
Highlight [160, 0, 0];
VerticalHighlight [70, 70, 250];
TabSet {
TabSize 35;
Number 19;
Justify Center;
};
};
//Player names (row headings)
DBListBox "SingleGameStatisticsHomeNameDBListBox" {
Style "SingleGameStatisticsHomeDBListBoxStyle";
Position [32, 59];
Size [147, 275];
Highlight [160, 0, 0];
Tab 0 Left;
};
DBListBox "SingleGameStatisticsTeamHomeNameDBListBox" {
Style "SingleGameStatisticsHomeDBListBoxStyle";
Position [32, 59];
Size [147, 275];
Highlight [160, 0, 0];
Tab 0 Left;
};
DBListBox "SingleGameStatisticsFieldsBox" {
Style "SingleGameStatisticsHomeTitleDBListBoxStyle";
Position [180, 0];
Size [384,60];
VerticalHighlight [70, 70, 250];
Sortable {
Database "PlayerStatsHComposite";
// This Order should match the order that they come in columns
Field "szName";
Field "nGamesPlayed";
Field "nNumGamesStarted";
Field "nMinPlayed";
Field "fPointsPerGame";
Field "nFGMade";
Field "nFGAttempt";
Field "fFGPercentage";
Field "n3PtMade";
Field "n3PtAttempt";
Field "f3PtPercentage";
Field "nFTMade";
Field "nFTAttempt";
Field "fFTPercentage";
Field "nOffReb";
Field "nDefReb";
Field "nAssists";
Field "nFouls";
Field "nDisqualifications";
Field "nSteals";
Field "nTurnovers";
Field "nBlocks";
};
String " TEAM G GS MINP PPG FGM FGA FG% 3PM"" 3PA 3P% FTM FTA FT%"" OFFR DEFR AST FOUL DIS STLS TOVR BLK";
TabSet {
TabSize 64;
Number 22;
Justify Center;
};
};
DBListBox "SingleGameStatisticsTeamFieldsBox" {
Style "SingleGameStatisticsHomeTitleDBListBoxStyle";
Position [180, 0];
Size [384,60];
VerticalHighlight [70, 70, 250];
Sortable {
Database "TeamStatsHComposite";
// This Order should match the order that they come in columns
Field "nWins";
Field "nLoss";
Field "fWinningPercent";
Field "fGamesBehind";
Field "nFGMade";
Field "nFGAttempt";
Field "n3PtMade";
Field "n3PtAttempt";
Field "nFTMade";
Field "nFTAttempt";
Field "nOffReb";
Field "nDefReb";
Field "nAssists";
Field "nFouls";
Field "nDisqualifications";
Field "nSteals";
Field "nTurnovers";
Field "nBlocks";
};
String " W L WIN% GB FGM FGA 3PM 3PA FTM FTA"" OFFR DEFR AST FOUL DIS STLS TOVR BLK";
TabSet {
TabSize 35;
Number 19;
Justify Center;
};
};
DBListBox "SingleGameStatisticsNameField" {
Style "SingleGameStatisticsHomeTitleDBListBoxStyle";
Position [80, 142];
Size [100,50];
Sortable {
Database "PlayerStatsHComposite";
// This Order should match the order that they come in columns
Field "szLast";
};
String "NAME";
// This Must have a tab size in order to give the selectable area for the sorting
TabSet {
TabSize 100;
Number 1;
Justify Left;
};
};
DBListBox "SingleGameStatisticsTeamNameField" {
Style "SingleGameStatisticsHomeTitleDBListBoxStyle";
Position [80, 142];
Size [100,50];
Sortable {
Database "TeamStatsHComposite";
// This Order should match the order that they come in columns
Field "szName";
};
String "NAME";
// This Must have a tab size in order to give the selectable area for the sorting
TabSet {
TabSize 100;
Number 1;
Justify Left;
};
};
CompositeScrollItemGroup "SingleGameStatisticsListBoxGroup" {
Horizontal Children {
DBListBox "SingleGameStatisticsFieldsBox";
DBListBox "SingleGameStatisticsHomeDBListBox";
};
Vertical Children {
DBListBox "SingleGameStatisticsHomeDBListBox";
DBListBox "SingleGameStatisticsHomeNameDBListBox";
};
};
CompositeScrollItemGroup "SingleGameStatisticsTeamListBoxGroup" {
Horizontal Children {
DBListBox "SingleGameStatisticsTeamFieldsBox";
DBListBox "SingleGameStatisticsTeamHomeDBListBox";
};
Vertical Children {
DBListBox "SingleGameStatisticsTeamHomeDBListBox";
DBListBox "SingleGameStatisticsTeamHomeNameDBListBox";
};
};
ListBoxGroup "SingleStatisticsListBox" {
Style "SingleGameStatisticsListBoxStyle";
Position [50, 142];
Children {
CompositeScrollItemGroup "SingleGameStatisticsListBoxGroup";
ScrollBarGroup "SingleStatisticsHorizScrollBar";
ScrollBarGroup "SingleStatisticsVertScrollBar";
};
};
ListBoxGroup "SingleStatisticsTeamListBox" {
Style "SingleGameStatisticsListBoxStyle";
Position [50, 142];
Children {
CompositeScrollItemGroup "SingleGameStatisticsTeamListBoxGroup";
ScrollBarGroup "SingleStatisticsTeamHorizScrollBar";
ScrollBarGroup "SingleStatisticsTeamVertScrollBar";
};
};
Group "SingleGameStatisticsPlayerGroup" {
Children {
ListBoxGroup "SingleStatisticsListBox";
DBListBox "SingleGameStatisticsNameField";
};
};
Group "SingleGameStatisticsTeamGroup" {
Children {
ListBoxGroup "SingleStatisticsTeamListBox";
DBListBox "SingleGameStatisticsTeamNameField";
};
};
MenuGroup "SingleGameStatisticsPlayerTeamMenuGroup" {
Children {
Group "SingleGameStatisticsPlayerGroup";
Group "SingleGameStatisticsTeamGroup";
RadioGroup "SingleGameStatisticsPlayerTeamGroup";
};
};
RadioGroup "SingleGameStatisticsPlayerTeamGroup" {
Position [35, 142];
Children {
CheckButton "SingleGameStatisticsPlayerButton";
CheckButton "SingleGameStatisticsTeamButton";
};
};
Group "SingleGameStatistics" {
Root;
Position [60,-30];
Children {
MenuGroup "SingleGameStatisticsPlayerTeamMenuGroup";
};
};